package com.qf.dao;

import com.qf.entity.SetMeal;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

public interface SetMealAdd {

    void modify(SetMeal setMeal);

//    @Delete("delete from where t_setmeal_checkgroup where checkgroup_id = #{id}")
//    void delete(Integer id);
//    //修改检查表
    void update(@Param("sid") Integer[] id , @Param("uid") Integer uid);

    @Select("select id from t_setmeal where code = #{code}")
    Integer chaxun(String code);
}
